Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay selections in should not enter infinite loop test due to changes in latest Chrome #17113

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Sep 18, 2024

Suggested merge commit message (convention)

Tests (engine): Delay selections in should not enter infinite loop test due to changes in Chrome 129.


Additional information

It looks like the newest Chrome version debounces selectionchange events, and I made a small delay to prevent this. In other words - firing multiple selection updates in small period of the time results in one selectionchange event instead of few.

Fixes:
obraz

After bumping Chrome from 128 to 129 in test suite.
edit: More likely Karma <--> Chrome driver issue, works fine in real browser.

@Mati365 Mati365 changed the title Debounce should not enter infinite loop due to changes in latest Chrome Delay selections in should not enter infinite loop test due to changes in latest Chrome Sep 19, 2024
@pomek pomek mentioned this pull request Sep 19, 2024
Copy link
Contributor

@pszczesniak pszczesniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe would be good to change the topic and commit message to mark in what version of Chrome it starts to fail, latest is too general.

Fix works as expected 👍

@Mati365 Mati365 merged commit cf5533f into master Sep 19, 2024
8 checks passed
@Mati365 Mati365 deleted the ck/fix-selection-hang-test branch September 19, 2024 07:35
pomek pushed a commit that referenced this pull request Sep 25, 2024
Tests (engine): Delay selections in `should not enter infinite loop` test due to changes in Chrome 129.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants